﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:controls="clr-namespace:SqlMiM.Common.Controls;assembly=SqlMiM.Common"
    xmlns:viewModel="clr-namespace:SqlMiM.ViewModel"
    xmlns:conv="clr-namespace:SqlMiM.Common.Converters;assembly=SqlMiM.Common"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="SqlMiM.Views.AboutView"
    Title="About" Height="450" Width="450" WindowStyle="None" 
        
    AllowsTransparency="True"
        SnapsToDevicePixels="True" mc:Ignorable="d">
    <Window.Resources>

        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/SqlMiM.Common;Component/Resources/ControlsTheme.xaml"/>
            </ResourceDictionary.MergedDictionaries>

        </ResourceDictionary>
    </Window.Resources>
    <DockPanel LastChildFill="True" Background="{DynamicResource BrushDarkness}">

        <controls:TitleBarThumb IconSource="/SqlMiM;component/Images/help.png"  DockPanel.Dock="Top" CanChangeWindowState="False" Title="About" 
                                TitleMargin="30,0,0,0" />

        <Grid DockPanel.Dock="Bottom"  >
            <DockPanel LastChildFill="False">
                <Button Content="Ok" IsCancel="True" IsDefault="True" DockPanel.Dock="Right" Margin="5,5,10,5" Width="80" Click="Button_Click" />

            </DockPanel>
        </Grid>

        <Grid Margin="5" Hyperlink.Click="AnyLink_Click">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <ContentControl Margin="5,-1,5,5" Grid.Row="1" VerticalAlignment="Top" >
			<StackPanel Orientation="Vertical" >
				<Image Source="/SqlMiM;Component/Images/avatarMim.jpg" Stretch="Fill" Width="150" Margin="0,10,0,0" HorizontalAlignment="Center" >
					<Image.Effect>
						<DropShadowEffect BlurRadius="10" Direction="306" RenderingBias="Quality"/>
					</Image.Effect>
				</Image>

                    <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
                        <Image Width="16" VerticalAlignment="Center" Height="16" Source="/SqlMiM;Component/Images/email.png" Stretch="Fill"/>
                        <TextBlock TextWrapping="WrapWithOverflow" Margin="10,0,0,0"><Hyperlink NavigateUri="mailto:sebastien.pertus@bewise.fr"><Run Text="sebastien.pertus@bewise.fr"/></Hyperlink>
                        </TextBlock>
                    </StackPanel>

                    <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
                        <Image Width="16" VerticalAlignment="Center" Height="16" Source="/SqlMiM;Component/Images/status_online.png" Stretch="Fill"/>
                        <TextBlock TextWrapping="WrapWithOverflow" Margin="10,0,0,0"><Hyperlink><Run Text="seb31tlse@hotmail.com"/></Hyperlink>
                        </TextBlock>
                    </StackPanel>

                </StackPanel>
            </ContentControl>
		    
            <Image Source="/SqlMiM;Component/Images/mvp.png" Stretch="Uniform" Width="120" Margin="18.723,0,13.277,42.238" VerticalAlignment="Bottom" />

            <ContentControl Margin="5,0,5,5" Grid.Column="1" Background="Black" >
			<StackPanel Orientation="Vertical">
			<TextBlock HorizontalAlignment="Center" FontWeight="Bold" Text="Sql MiM" FontSize="21.333"></TextBlock>
			
			<Grid Margin="0,20,0,0">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>
				<Image Width="30" Height="27" Source="/SqlMiM;Component/Images/kaxaml.png" Stretch="Fill" Grid.Column="1"  VerticalAlignment="Top" />
				
					<TextBlock TextWrapping="WrapWithOverflow"><Hyperlink  NavigateUri="http://www.kaxaml.com"><Run Text="Kaxaml"/></Hyperlink>
					pour l'inspiration, pour la charte, et un peu pour tout le reste !
					<Image Width="16" Height="16" Source="/SqlMiM;Component/Images/emoticon_wink.png" Stretch="Fill"/>
					</TextBlock>
				
			</Grid>
			<Grid Margin="0,20,0,0" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>
				<TextBlock TextWrapping="WrapWithOverflow" Margin="0,0,0,0"><Hyperlink  NavigateUri="http://www.famfamfam.com"><Run Text="FamFamFam"/></Hyperlink>
				pour les supers icones !
				</TextBlock>
				<Image HorizontalAlignment="Left" Grid.Column="1" VerticalAlignment="Top" Width="90" Height="15" Source="/SqlMiM;Component/Images/FamFamFam.PNG" Stretch="Fill"/>
			</Grid>

			<Grid Margin="0,20,0,0" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
				<Image HorizontalAlignment="Left" VerticalAlignment="Top" Width="47.181" Height="43" Source="/SqlMiM;Component/Images/bewise.png" Stretch="Fill"/>
				<TextBlock TextWrapping="WrapWithOverflow" Grid.Column="1" Margin="10,0,0,0"><Hyperlink NavigateUri="http://www.bewise.com"><Run Text="Bewise"/></Hyperlink>, ma société où je m'active depuis plusieurs années
				</TextBlock>
			</Grid>
	
			
<TextBlock TextWrapping="WrapWithOverflow"  Text=" Et ..." Margin="20" FontWeight="Bold"/>
			<Grid Margin="0,20,0,0" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
				<Image HorizontalAlignment="Left" VerticalAlignment="Top"  Source="/SqlMiM;Component/Images/wow.png" Stretch="Fill"/>
				<TextBlock TextWrapping="WrapWithOverflow" Grid.Column="1" Margin="10,0,0,0"><Hyperlink><Run Text="World of Warcraft"/></Hyperlink>
					, Pour les 800% de délais de dépassement sur ce projet !!!
					<Image Width="16" Height="16" Source="/SqlMiM;Component/Images/emoticon_evilgrin.png" Stretch="Fill"/>
				</TextBlock>
			</Grid>

			</StackPanel>
			
           
            </ContentControl>

        </Grid>


    </DockPanel>

</Window>
